<!-- MintOS Notez app version 0.1 -->

    <div id="window_notez" class="abs window">
      <div class="abs window_inner">
        <div class="window_top">
          <span class="float_left">
            <img src="assets/images/icons/icon_16_notez.png" />
            Notez
          </span>
          <span class="float_right">
            <a href="#" class="window_min"></a>
            <a href="#" class="window_resize"></a>
            <a href="#icon_dock_notez" class="window_close"></a>
          </span>
        </div>
        <div class="abs window_content">
          <div class="window_aside">
            Storage in use: 119.1 GB<br><br>
						<div id="div1">Simply double-click a file to open it</div>
          </div>
          <div class="window_main">
            <table class="data">
              <thead>
                <tr>
                  <th class="shrink">
                    &nbsp;
                  </th>
                  <th>
                    Name
                  </th>
                  <th>
                    Date Modified
                  </th>
                  <th>
                    Date Created
                  </th>
                  <th>
                    Size
                  </th>
                </tr>
              </thead>
              <tbody>
									<?php

										$dir			= 'cloud/';
										$files		= scandir($dir);
										foreach($files as $file) {
											if ($file != '.' && $file != '..') echo '<tr onclick=\'$(this).parent().parent().load("apps/notez_fetch.php?file='.$file.'");\'><td><img src="assets/images/icons/icon_16_page.png" /></td><td>'.$file.'</td><td>'.date("d F Y H:i:s.",filemtime('cloud/'.$file)).'</td><td>'.
date("F d Y H:i:s.",filectime('cloud/'.$file)).'</td><td>'.size_readable(filesize('cloud/'.$file)).'</td></tr>';
										}

										?>
              </tbody>
            </table>
          </div>
        </div>
        <div class="abs window_bottom">
          Free: 80.9 GB
        </div>
      </div>
      <span class="abs ui-resizable-handle ui-resizable-se"></span>
    </div>
